Skip to main content

DescribeVulTargetStatistics

Description

obtain the target host information for vulnerability detection in vulnerability management configuration.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeVulTargetStatistics

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringNoNo sample value for this parameter.vulnerability classification.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
TotalCountintegerno demo valuereturns the total number of records.
Targetstringno demo valueasset group ID or host asset UUID.
RequestIdstringno demo valuerequest ID.
PageSizeintegerno demo valuepage displays the maximum number of records.
CurrentPageintegerno demo valuecurrently returns page number.
TargetTypestringno demo valueThe type of Target parameter value: groupId: indicates asset group ID uuid: indicates the host asset UUID
Targetsarrayno demo valuetarget host information. see the following parameter description for specific sub-items.
Flagstringno demo valuewhether vulnerability detection is enabled.
TargetStatsarrayno demo valuevulnerability detection target host list. see the following parameter description for specific sub-items.
VulTypestringno demo valuevulnerability classification.

Example

Successful Response example

{
"TotalCount":"no demo value",
"Target":"no demo value",
"RequestId":"no demo value",
"PageSize":"no demo value",
"CurrentPage":"no demo value",
"TargetType":"no demo value",
"Targets":"no demo value",
"Flag":"no demo value",
"TargetStats":"no demo value",
"VulType":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}